import * as types from "@c/public/form-designer/devType/datas-types";

export const waitingInfo = [
    // todo 宁夏妇女儿童医院门诊候诊屏
    {
        type: "scene-waiting-blue-nx",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",              // 组件库类型
        categoryType: 'waiting-patient',// 设备类型 例:报到机(一级设备分类)
        screenDataType: '',             // 设备类型的二级分类
        devType: 'waiting',                  // 组件库二级分类
        title: '候诊-宁夏',
        mapperFiles: [], //映射
        options: {
            name: "候诊-宁夏",
            hidden: false,
            config: 'waitingInfoNxConfig',
            waitingInfoNxConfig: {
                lineHeight: 90,
                contentHeight: 800,
                headHide: false,
                headShow: true,
                headHeight: 110,
                headFontSize: 80,
                headFontWeight: 'normal',
                headerFontColor: "#f7fd17",
                headerBackgroundColor: '',
                multiple: 1,
                checkList: [1, 3],
                queryRule: [1],
                patientOrderNo: true,
                showRowNums: 5, // 展示列表条数
                switchScreen: true, // 是否切屏
                switchTime: 10, // 切屏间隔
                defaultShowCol: ['treatmentRoomName', 'workerName', 'treatingPatient', 'waitPatientList'],
                colOptions: [
                    { label: '窗口号', value: 'treatmentRoomNumber', state: false, color: '#ffffff', disabled: false, flex: 0.3 },
                    { label: '科室', value: 'deptName', state: false, color: '#94F7FC', disabled: false, flex: 1 },
                    { label: '诊室', value: 'treatmentRoomName', state: false, color: '#94F7FC', disabled: false, flex: 1 },
                    { label: '医生', value: 'workerName', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '工作站', value: 'workStationName', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '类型', value: 'registerObjTypeName', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '号别', value: 'registerObjNames', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '正在就诊', value: 'treatingPatient', state: false, color: '#ffffff', disabled: false, flex: 1.5 },
                    { label: '门口等候', value: 'waitPatientList', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '人数', value: 'waitPatientCount', state: false, color: '#ffffff', disabled: false, flex: 0.3 },

                ],
                registerObjNameKey: 'registerObjName',
                waitingVisitStep: 1,
                waitingNumber: 3,
                waitingVisitDirection: "left", // up，down，left，right
                waitingVisitTime: 2000,
                itemShadow: false,
                itemBackground: 'rgba(0, 89, 179, 0.2)',
                itemFontSize: 66,
                itemBorderBottom: 1,
                itemBorderColor: 'rgba(170, 170, 170, 0.75)',
                itemFontWeight: 'normal',
                ellipsisState: true,
                // add新增属性
                mergeColInfo: {
                    1: []
                },
                listSpeed: 10,
                roomNameKey: 'treatmentRoomName',  //诊室Key
                deptNameKey: 'deptName',
                patientSpace: false,
                openScroll: false,
                layerEdit: true,
                layerNameKey: 'call-patient-current',  //弹层名称
                waitPatientType: 2, //候诊类型:1候诊等候 2候诊列表
            }
        },
    },
    {
        type: "scene-waiting-blue-nx-ultrasound",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",              // 组件库类型
        categoryType: 'waiting-patient',// 设备类型 例:报到机(一级设备分类)
        screenDataType: '',             // 设备类型的二级分类
        devType: 'waiting',                  // 组件库二级分类
        title: '超声候诊-宁夏',
        mapperFiles: [], //映射
        options: {
            name: "超声候诊-宁夏",
            hidden: false,
            config: 'waitingInfoNxUltrasoundConfig',
            waitingInfoNxUltrasoundConfig: {
                lineHeight: 90,
                contentHeight: 1080,
                headHide: false,
                headShow: true,
                headHeight: 110,
                headFontSize: 67,
                headFontWeight: 'normal',
                headerFontColor: "#f7fd17",
                headerBackgroundColor: '',
                multiple: 2,
                checkList: [1, 3],
                queryRule: [1],
                patientOrderNo: true,
                showRowNums: 7, // 展示列表条数
                switchScreen: true, // 是否切屏
                switchTime: 10, // 切屏间隔
                defaultShowCol: ['treatmentRoomName', 'treatingPatient'],
                colOptions: [
                    { label: '窗口号', value: 'treatmentRoomNumber', state: false, color: '#ffffff', disabled: false, flex: 0.3 },
                    { label: '科室', value: 'deptName', state: false, color: '#94F7FC', disabled: false, flex: 1 },
                    { label: '检查诊室', value: 'treatmentRoomName', state: false, color: '#CBFFC6', disabled: false, flex: 1 },
                    { label: '医生', value: 'workerName', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '工作站', value: 'workStationName', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '类型', value: 'registerObjTypeName', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '号别', value: 'registerObjNames', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '正在检查', value: 'treatingPatient', state: false, color: '#49FF00', disabled: false, flex: 1.5 },
                    { label: '门口等候', value: 'waitPatientList', state: false, color: '#ffffff', disabled: false, flex: 1 },
                    { label: '人数', value: 'waitPatientCount', state: false, color: '#ffffff', disabled: false, flex: 0.3 },

                ],
                registerObjNameKey: 'registerObjName',
                openScroll:true,
                waitingVisitStep: 1,
                waitingPatientScrollNumber: 6,
                waitingNumber: 3,
                waitingVisitDirection: "left", // up，down，left，right
                waitingVisitTime: 2000,
                itemShadow: false,
                itemBackground: 'rgba(0, 89, 179, 0.2)',
                itemFontSize: 52,
                itemBorderBottom: 1,
                itemBorderColor: 'rgba(170, 170, 170, 0.75)',
                itemFontWeight: 'normal',
                ellipsisState: true,
                // add新增属性
                mergeColInfo: {
                    1: []
                },
                listSpeed: 10,
                roomNameKey: 'treatmentRoomName',  //诊室Key
                deptNameKey: 'deptName',
                patientSpace: false,
                layerEdit: true,
                layerNameKey: 'call-patient-current',  //弹层名称
                waitPatientType: 2, //候诊类型:1候诊等候 2候诊列表
                logoUrl:'',
                tips:'温馨提示：请保持安静，祝您早日康复。',
                topTitle:''
            }
        },
    },
]